package xyz.ddlnt.model.dto;

import com.alibaba.fastjson2.JSONArray;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/6 21:44
 */
@Schema(description = "笔记传输对象")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class NoteDTO {
    @Schema(description = "笔记id")
    private Long id;
    @Schema(description = "笔记标题")
    private String noteTitle;

    @Schema(description = "笔记摘要")
    private String summary;
    @Schema(description = "笔记目录（JSON数组）")
    private JSONArray noteDirectory; // JSON 类型
    @Schema(description = "笔记内容")
    private String noteContent;
}
